Type Vertex
   x As Single
   y As Single
   z As Single
End Type

Type Surface
   numVertices as Integer  ' the number of vertices in this surface
   vertices() as Integer   ' index (within the Vertex array) of each vertex, listed in clockwise order
   color as Integer        ' set to -1 if not applicable
   textureName as String   ' set to "" if not applicable
   textureAngle as Integer ' set to 0 if not applicable
End Type

sub ImportObjectFromFileformat ( vertices() As Vertex, surfaces() As Surface)
   ' (for example, ImportDataFromDXF)
   ' assume vertices() and surfaces() are zero-element arrays when this function is called
   '   they must be resized to hold the data before loading it, and should not be any larger 
   '   than necessary (their size will be used to determine the number of vertexes/surfaces in imported object)
End Sub

sub ExportDataToFileformat ( vertices() As Vertex, surfaces() As Surface)
   ' (for example, ExportDataToDXF)
   ' vertices() and surfaces() will conatin the data, and be sized so that 
   ' UBound(vertices)+1 and UBound(surfaces)+1 will be the total number of 
   ' vertices and surfaces, respectively

End Function
   
' Note!!!  All Arrays must be set up to have the first element be element 0
' (eg a 10 element array would would hold values array(0) to array(9) )
